﻿@{
    ViewBag.Title = "LogOn";
    Layout = "~/Views/Shared/_MainLayout.cshtml";
}
@using MvcMall.Portal.Controllers.Account.ViewModels;
@model UserLogOnModel
<link href="@Url.Content("~/Content/loginRegister.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div class="top_login_nav">
    <div class="top_login_nav_box">
        <ul>
            <li class="top_login_nav_tag">会员登录 </li>
        </ul>
    </div>
</div>
<div class="wrap">
    @using (Html.BeginForm())
    {           

        <table class="login_panel" cellpadding="0" cellspacing="0" border="0">
            <tr class="login_input">
                <th>
                    @Html.LabelFor(m => m.UserName)
                </th>
                <td>
                    @Html.TextBoxFor(m => m.UserName, new { @class = "txtInput" })
                    @Html.ValidationMessageFor(m => m.UserName)
                </td>
            </tr>
            <tr class="login_input">
                <th>
                    @Html.LabelFor(m => m.Password)
                </th>
                <td>
                    @Html.PasswordFor(m => m.Password, new { @class = "txtInput" })
                    @Html.ValidationMessageFor(m => m.Password)
                </td>
            </tr>
            <tr>
                <th>
                </th>
                <td>
                    <label>
                        @Html.CheckBoxFor(m => m.RememberMe)记住用户名</label>
                    <label>
                        @Html.CheckBoxFor(m => m.AutoLogOn)自动登录</label>
                </td>
            </tr>
            <tr>
                <th>
                </th>
                <td>
                    <input type="submit" value="" class="btn_login" style="border: 0; margin: 0; cursor: pointer" />
                </td>
            </tr>
            <tr>
                <th>
                </th>
                <td>
                    @Html.ActionLink("忘记密码?", "FindPassword", "Account", null, new { @style = "color:blue" })
                </td>
            </tr>
        </table>
    }
    <div class="register_noyet">
        <strong class="f14px clear">还不是星汇用户？</strong> 立刻免费注册成为星汇用户，马上享受便宜又放心的购物乐趣。
        @Html.ActionLink("  ", "Register", "Account", null, new { @class = "btn_register" })
    </div>
</div>
